#OBJS specifies which files to compile as part of the project 
OBJS = animateMan1.cpp 

#OBJ_NAME specifies the name of our exectuable 
OBJ_NAME = animateMan1 

#CC specifies which compiler we're using 
CC = g++ 

#INCLUDE_PATHS specifies the additional include paths we'll need 
INCLUDE_PATHS = -I..\freeglut\include 

#LIBRARY_PATHS specifies the additional library paths we'll need 
LIBRARY_PATHS = -L..\freeglut\lib 

#COMPILER_FLAGS specifies the additional compilation options we're using 
# -w suppresses all warnings # -Wl,-subsystem,windows gets rid of the console window 
COMPILER_FLAGS = -g -w -Wl,-subsystem,windows 

#LINKER_FLAGS specifies the libraries we're linking against 
LINKER_FLAGS = -lOpenGL32 -lglu32 -lfreeGLUT 

#This is the target that compiles our executable 
all : $(OBJS) 
	$(CC) $(OBJS) $(INCLUDE_PATHS) $(LIBRARY_PATHS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME)

##############################################################################################
#helloteapot.c
OBJSm = snowman.c
OBJ_NAMEm = snowman
snowman: $(OBJSm)
	$(CC) $(OBJSm) $(INCLUDE_PATHS) $(LIBRARY_PATHS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAMEm)

